Quadratic Residue

Definition

Given a,nZ, a is a quadratic residue modulo n if (by definition):

x2a(modn).

has a solution xZp.


Otherwise a is called a quadratic non-residue.

This is simply a generalisation of the notion of a square number to the ring Zn.


Note that in the context of MATH3431, 0 is not considered to be either a quadratic residue or non-residue, and for the sake of the Legendre symbol and Euler's criterion it can be useful to exclude 0, so one must take care in the definition. Generally in these notes, definitions will be written to account for this, and 0 is a quadratic residue.